import axios from '@/axios/axiosConfig'

export function listDbType(params) {
  return axios({
    'url': '/daq/admin/config/dbType/list',
    'method': 'get',
    params
  })
}

export function listMsgType(params) {
  return axios({
    'url': '/daq/admin/config/msgType/list',
    'method': 'get',
    params
  })
}

export function listAcquisitionType(params) {
  return axios({
    'url': '/daq/admin/config/acquisitionType/list',
    'method': 'get',
    params
  })
}

export function listCheckConfig(params) {
  return axios({
    'url': '/daq/admin/config/checkConfig/list',
    'method': 'post',
    'data': params
  })
}

export function listMsgRuleDetailConfig(params) {
  return axios({
    'url': '/daq/admin/config/msgRuleDetailConfig/list',
    'method': 'post',
    'data': params
  })
}

export function listDataValueType(params) {
  return axios({
    'url': '/daq/admin/config/dataValueType/list',
    'method': 'get',
    params
  })
}

export function listMsgParam(params) {
  return axios({
    'url': '/daq/admin/config/msgParam/list',
    'method': 'get',
    params
  })
}
